package com.bdqn.petmalldemo.vo;

import com.alibaba.fastjson.JSONObject;
import com.bdqn.petmalldemo.entity.Product;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:彭俊
 * @description:
 * @date:2020-03-13 21:10
 */
@Data
public class CartProductVo implements Serializable {
    private static final long serialVersionUID = -391915817758545037L;

    private  Long id;

    private String productId;

    private Product product;

    private Integer quantity;

    @Override
    public String toString(){
        return JSONObject.toJSONString(this);
    }
}
